					<script type="text/javascript" src="<?php echo WEB_LINK . "/lib/library/tiny_mce/tiny_mce.js";?>"></script>
					<script type="text/javascript">
						 tinyMCE.init({
							mode : "exact",
							elements : "noidung",
							theme : "advanced",
							//plugins : "autolink,lists,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,inlinepopups,autosave",
					
							// Theme options
							theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,formatselect,fontselect,fontsizeselect",
							theme_advanced_buttons2 : "bullist,numlist,|,outdent,indent,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code",
							theme_advanced_buttons3 : "hr,removeformat,visualaid,|,sub,sup,|,charmap",
							theme_advanced_toolbar_location : "top",
							theme_advanced_toolbar_align : "left",
							theme_advanced_resizing : true,
							theme_advanced_resize_horizontal : false,
							theme_advanced_statusbar_location : "bottom", theme_advanced_path : true,
							theme_advanced_source_editor_height : 900
						});
					</script>
					<form id="sendMail" method="post" name="sendMail" action="index.php?m=user&a=sendmail<?php echo constants::$pathUrl;?>" onsubmit="return checkFormSendMail()">				
						<table border="0" cellspacing="5" cellpadding="0" width="85%" id="table" align="center">
							<?php if($this->buttonCot) :?>
							<tr>
								<td height="20" colspan="3" align="left" class="err">+ Nội dung của bạn đã được gửi đi</td>
							</tr>
							<tr>
								<td height="20" colspan="3" align="center" class="err">
									<span style="border:1px solid #CCC;padding:3px 5px;cursor:pointer;" onclick="hrefLocation('<?php echo Session::Get("URLSENDMAIL");?>', '', '')">Quay lại</span>
								</td>
							</tr>
							<?php else :?>
							<?php if (count ($this->errorArr) > 0) :?>
							<tr>
								<td height="20" colspan="3" align="center" class="err">
									<?php echo FunctionCommon::showAllErrorMessage($this->errorArr); ?>
								</td>
							</tr>
							<?php endif;?>
							<tr>
								<td height="20" colspan="3" class="normalfont">
							         <p align="right"><font color="#FF0000">* </font><font color="#3D3D3D">Thông tin phải nhập&nbsp;&nbsp;&nbsp; </font></p>
							    </td>
							</tr>
							<tr>
								<td align="right" class="normalfontbold" width="20%">Tiêu đề</td>
								<td width="5"><font color="#FF0000">*</font></td>
								<td nowrap><input type="text" id="tieude" size="74" name="tieude" value="<?php echo $this->getPost['tieude'];?>"></td>
							</tr>
							<tr>
								<td align="right" class="normalfontbold" width="20%" valign="top">Nôi dung</td>
								<td width="5" valign="top"><font color="#FF0000">*</font></td>
								<td nowrap><textarea name="noidung" id="noidung" cols="50" rows="10"><?php echo $this->getPost['noidung'];?></textarea></td>
							</tr>
							<tr>
								<td align="right" class="normalfontbold" width="20%">Nhập mã ở hình bên</td>
								<td width="5"><font color="#FF0000">*</font></td>
								<td nowrap style="float:left;"><input style="float:left;" type="text" id="captcha" size="8" name="captcha" value=""><img height="22" style="display:block;margin-left:78px;" src="<?php echo WEB_LINK . "/captcha.php";?>"></td>
							</tr>
							<tr>
								<td colspan="2">&nbsp;</td>
								<td>&nbsp;</td>
							</tr>
							<tr>
								<td colspan="2" align="right"><span style="border:1px solid #CCC;padding:3px 5px;cursor:pointer;font-weight:bold;" onclick="hrefLocation('<?php echo Session::Get("URLSENDMAIL");?>', '', '')">Quay lại</span></td>
								<td>
									<input style="border:1px solid #CCC;cursor:pointer;background:none;height:27px;font-weight:bold;" type="submit" value="Send" id="btdangky" name="butSub">
							    </td>
							</tr>
							<tr>
								<td colspan="2">&nbsp;</td>
								<td>&nbsp;</td>
							</tr>
							<tr>
								<td colspan="3">
									<fieldset style='border:1px solid #afe14c;margin: 7px 0;padding: 10px 10px'>
							  		<legend style='font: 700 14px Arial, Helvetica, sans-serif;padding: 0 5px;margin: 0 10px;color: #73b304'>Nội dung gửi tới danh sách mail sau</legend>
									<table width="100%" border="0" align="center" cellpadding="5" cellspacing="0">
										<?php if (count ($this->arrMail) > 0) :?>
										<?php $i=1; foreach ($this->arrMail as $mail) :?>
									    <tr>
									      <td align="left"><?php echo $i.". ".$mail;?></td>
									      <input type="hidden" name="emailA[]" value="<?php echo $mail;?>"/>
									    </tr>
									    <?php $i++; endforeach;?>
									    <?php endif;?>
									</table>
									</fieldset>
								</td>
							</tr>
							<?php endif;?>
						</table>
					</form>